how to find the sum of first n odd numbers in c